				<script type="text/javascript">
			jQuery(document).ready(function($) {
			$('a[rel*=facebox]').facebox({
			loading_image : 'facebox/loading.gif',
			close_image   : 'facebox/closelabel.gif'
			}) 
		})
		</script>
<div class="span-8">
	<div class="top_left">
	<div class="user">
		<?php if(memLogin()>0):?>
			
				<?php echo anchor('account/edit','Hi, '.$this->session->userdata('nama'))?>
		<?php endif;?>
	</div>
	</div>
</div>
<div class="span-8">
	<div class="top_center">
		<div class="top_item">
			<div class="span-4">
				<div class="nav_item">
				<a class="nav_link" href="<?php echo base_url().'produk/brand/1'?>">SLACKERS</a>
				</div>
			</div>
			<div class="span-4 last">
				<div class="nav_item">
				<a class="nav_link" href="#">OTHERS</a>
				</div>
			</div>
		</div>
	</div>
</div>

<div class="span-8 last">
	<div class="top_right">
		<div class="span-8 last">
			<div class="reg_log">
				<?php if(memLogin()>0):?>
				
				<div class="login">
				<a href="#" rel="facebox">Logged In</a>
				</div>
				<div class="reg">
					<?php echo anchor('login/doLogout','Logout')?>
				</div>
					
				<?php else:?>
				<div class="login">
				<a href="#login" rel="facebox">Member Login</a>
				</div>
				<div class="reg">
					<?php echo anchor('account/add','Register')?>	
				</div>
				<?php endif;?>
		
		<!--sign in pop up jquery-->
	   	<div id="login" style="display:none">
			<h3 style="text-align:right;">Member Login</h3>
				<form action="<?php echo site_url()?>login/doLogin" method="post">
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="shoppingTable">
					 <tbody>
					  <tr>
						<td width="30%"><strong>Email</strong></td>
						<td width="70%">
						<?php echo form_error('email', '<div class="error">', '</div>'); ?>
						<input type="text" class="contact_input" name="email" style="width:160px" class="loginText" value="<?php echo set_value('email'); ?>" ></td>
					  </tr>
					  <tr>
						<td><strong>Password</strong></td>
						<td>
						<?php echo form_error('password', '<div class="error">', '</div>'); ?>
						<input type="password" class="contact_input" name="password" style="width:160px" class="loginText" value="<?php echo set_value('password'); ?>" >
						</td>
					  </tr>
					  <tr>
						<td width="13%">&nbsp;</td>
						 <td width="87%"><input type="submit" name="login" value="Login" class=""></td>
					  </tr>
					</tbody>
					</table>
				</form>     
		</div>	
		<!--sign in pop up jquery-->	
				
				
			</div>
		</div>

		<div class="span-8 last">
			<div class="join">
			<label class="title_join">STAY WITH US</label><br>
			<a href="#"><img src="<?php echo base_url()?>assets/images/twitter.png"></a>
			<a href="#"><img src="<?php echo base_url()?>assets/images/facebook.png"></a>
			</div>



			<div class="ym_sales">
				<div class="ym_title">
				<label>SALES SUPPORT</label>
				</div>
				<div id="ymticker">
					<ul id="ymticker">
						<li>SALES 1 <a href="#"><img src="<?php echo base_url()?>assets/images/ymonline.gif"></a></li>
						<li>SALES 2 <a href="#"><img src="<?php echo base_url()?>assets/images/ymonline.gif"></a></li>
						<li>SALES 3 <a href="#"><img src="<?php echo base_url()?>assets/images/ymonline.gif"></a></li>
						<li>SALES 4 <a href="#"><img src="<?php echo base_url()?>assets/images/ymonline.gif"></a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="cart">
			<div id="img_cart">
			</div>
			<div id="txt_cart">
				<?php echo myCart()?>
			</div>
		</div>
		
		
		<!-- FACEBOOX PLUGIN -->
		<div id="view_cart" style="display:none">
			
			<?php echo viewCart();?>
			<p>
			<a  href="<?php echo site_url('order')?>" class="black_link">Edit Cart</a>
			<a  href="<?php echo site_url('order/checkout/')?>" class="black_link">Check Out</a></p>
				
		</div>
		

	</div>
</div>
